<template>
  <div class="home" @click="loginClick">
    <div>12321</div>
    <el-button>Default</el-button>
    <h1 style="margin:50px" v-for="item in 100" :key="item">首页</h1>
  </div>
</template>

<script>
import { onBeforeMount, onMounted, reactive, ref, toRefs, unref } from "vue"
import { useRouter } from 'vue-router'
export default {
    setup() {
        // const store = useStore();
        const router = useRouter();
        const loginClick=()=>{
          router.push({path:"/system/menu"})
        }
        return {
          loginClick
        }
    },

}
</script>

<style lang="less" scoped>
// .home{
  // background: #b3d8ff;
  // height: 100%;
// }
</style>